
<template>
    <van-button type="primary" @click="testClick">{{msg}}</van-button>

    <div>22222</div>
</template>

<script setup lang="ts">
import { ref, toRef, reactive } from 'vue'
import { $ref } from 'vue/macros'
let msg =ref("这是fragment2") 
let testClick = () => {
    msg.value += "A"
}
</script>